package com.tedu.bill.demo8;

/**
 * Author：毕龙
 * Date: 2024/4/17 15:39
 */
public class TestExtends {
    public static void main(String[] args) {
        Dog dog = new Dog();
        dog.kind = "哮天犬";
        dog.sleep();
        Cat cat = new Cat();
        cat.kind = "小花";
        cat.sleep();
    }
}
